package com.xfly.app.bean;

import com.ptmall.app.bean.ProductBean;

import java.util.List;

public class OrderBean {


    /**
     * id : 10
     * mold : 1
     * member_id : 1002
     * supplier : 1001
     * orderno : 20190830082137161776
     * goods_price : 478.00
     * price : 478.00
     * intro :
     * coupon_id : 0
     * coupon : 0.00
     * reduce : 0.00
     * postage : 0.00
     * gift_id : 0
     * payprice : 0.00
     * payway : alipay
     * paytime : 0
     * payno :
     * paysign :
     * address_id : 0
     * address_name :
     * address_phone :
     * address_address :
     * express :
     * express_number :
     * deliver_time : 0
     * take_time : 0
     * status : 0
     * create_time : 1567124497
     * contract_title :
     * contract : 0
     * contract_member : 0
     * member : {"id":1002,"avatar":"/public/uploads/20190814/781f058c1caeba34860857163fa12803.jpg","name":"","phone":"","address":""}
     * goods : [{"goods_id":1,"specs_id":5,"price":"234.00","num":2,"goods_title":"测试商品一","goods_cover":"/public/uploads/20190814/781f058c1caeba34860857163fa12803.jpg","specs_name":"234"},{"goods_id":1,"specs_id":2,"price":"10.00","num":1,"goods_title":"测试商品一","goods_cover":"/public/uploads/20190814/781f058c1caeba34860857163fa12803.jpg","specs_name":"测试规格2"}]
     */

    private int id;
    private int mold;
    private int member_id;
    private int supplier;
    private String orderno;
    private String goods_price;
    private String price;
    private String intro;
    private int coupon_id;
    private String coupon;
    private String reduce;
    private String postage;
    private int gift_id;
    private String payprice;
    private String payway;
    private int paytime;
    private String payno;
    private String paysign;
    private int address_id;
    private String address_name;
    private String address_phone;
    private String address_address;
    private String express;
    private String express_number;
    private int deliver_time;
    private int take_time;
    private int status;
    private int create_time;
    private String contract_title;
    private String contract;
    private int contract_member;
    private MemberBean member;
    private List<ProductBean> goods;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getMold() {
        return mold;
    }

    public void setMold(int mold) {
        this.mold = mold;
    }

    public int getMember_id() {
        return member_id;
    }

    public void setMember_id(int member_id) {
        this.member_id = member_id;
    }

    public int getSupplier() {
        return supplier;
    }

    public void setSupplier(int supplier) {
        this.supplier = supplier;
    }

    public String getOrderno() {
        return orderno;
    }

    public void setOrderno(String orderno) {
        this.orderno = orderno;
    }

    public String getGoods_price() {
        return goods_price;
    }

    public void setGoods_price(String goods_price) {
        this.goods_price = goods_price;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public int getCoupon_id() {
        return coupon_id;
    }

    public void setCoupon_id(int coupon_id) {
        this.coupon_id = coupon_id;
    }

    public String getCoupon() {
        return coupon;
    }

    public void setCoupon(String coupon) {
        this.coupon = coupon;
    }

    public String getReduce() {
        return reduce;
    }

    public void setReduce(String reduce) {
        this.reduce = reduce;
    }

    public String getPostage() {
        return postage;
    }

    public void setPostage(String postage) {
        this.postage = postage;
    }

    public int getGift_id() {
        return gift_id;
    }

    public void setGift_id(int gift_id) {
        this.gift_id = gift_id;
    }

    public String getPayprice() {
        return payprice;
    }

    public void setPayprice(String payprice) {
        this.payprice = payprice;
    }

    public String getPayway() {
        return payway;
    }

    public void setPayway(String payway) {
        this.payway = payway;
    }

    public int getPaytime() {
        return paytime;
    }

    public void setPaytime(int paytime) {
        this.paytime = paytime;
    }

    public String getPayno() {
        return payno;
    }

    public void setPayno(String payno) {
        this.payno = payno;
    }

    public String getPaysign() {
        return paysign;
    }

    public void setPaysign(String paysign) {
        this.paysign = paysign;
    }

    public int getAddress_id() {
        return address_id;
    }

    public void setAddress_id(int address_id) {
        this.address_id = address_id;
    }

    public String getAddress_name() {
        return address_name;
    }

    public void setAddress_name(String address_name) {
        this.address_name = address_name;
    }

    public String getAddress_phone() {
        return address_phone;
    }

    public void setAddress_phone(String address_phone) {
        this.address_phone = address_phone;
    }

    public String getAddress_address() {
        return address_address;
    }

    public void setAddress_address(String address_address) {
        this.address_address = address_address;
    }

    public String getExpress() {
        return express;
    }

    public void setExpress(String express) {
        this.express = express;
    }

    public String getExpress_number() {
        return express_number;
    }

    public void setExpress_number(String express_number) {
        this.express_number = express_number;
    }

    public int getDeliver_time() {
        return deliver_time;
    }

    public void setDeliver_time(int deliver_time) {
        this.deliver_time = deliver_time;
    }

    public int getTake_time() {
        return take_time;
    }

    public void setTake_time(int take_time) {
        this.take_time = take_time;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getCreate_time() {
        return create_time;
    }

    public void setCreate_time(int create_time) {
        this.create_time = create_time;
    }

    public String getContract_title() {
        return contract_title;
    }

    public void setContract_title(String contract_title) {
        this.contract_title = contract_title;
    }

    public String getContract() {
        return contract;
    }

    public void setContract(String contract) {
        this.contract = contract;
    }

    public int getContract_member() {
        return contract_member;
    }

    public void setContract_member(int contract_member) {
        this.contract_member = contract_member;
    }

    public MemberBean getMember() {
        return member;
    }

    public void setMember(MemberBean member) {
        this.member = member;
    }

    public List<ProductBean> getGoods() {
        return goods;
    }

    public void setGoods(List<ProductBean> goods) {
        this.goods = goods;
    }

    public static class MemberBean {
        /**
         * id : 1002
         * avatar : /public/uploads/20190814/781f058c1caeba34860857163fa12803.jpg
         * name :
         * phone :
         * address :
         */

        private int id;
        private String avatar;
        private String name;
        private String phone;
        private String address;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }
    }

    public static class GoodsBean {
        /**
         * goods_id : 1
         * specs_id : 5
         * price : 234.00
         * num : 2
         * goods_title : 测试商品一
         * goods_cover : /public/uploads/20190814/781f058c1caeba34860857163fa12803.jpg
         * specs_name : 234
         */

        private int goods_id;
        private int specs_id;
        private String price;
        private int num;
        private String goods_title;
        private String goods_cover;
        private String specs_name;

        public int getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(int goods_id) {
            this.goods_id = goods_id;
        }

        public int getSpecs_id() {
            return specs_id;
        }

        public void setSpecs_id(int specs_id) {
            this.specs_id = specs_id;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public String getGoods_title() {
            return goods_title;
        }

        public void setGoods_title(String goods_title) {
            this.goods_title = goods_title;
        }

        public String getGoods_cover() {
            return goods_cover;
        }

        public void setGoods_cover(String goods_cover) {
            this.goods_cover = goods_cover;
        }

        public String getSpecs_name() {
            return specs_name;
        }

        public void setSpecs_name(String specs_name) {
            this.specs_name = specs_name;
        }
    }
}
